# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'newQuestionGui.ui'
#
# Created: Sat Dec 26 15:14:17 2009
#      by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_newQuestion(object):
    def setupUi(self, newQuestion):
        newQuestion.setObjectName("newQuestion")
        newQuestion.resize(348, 244)
        self.verticalLayout_2 = QtGui.QVBoxLayout(newQuestion)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.choices = QtGui.QGroupBox(newQuestion)
        self.choices.setObjectName("choices")
        self.verticalLayout = QtGui.QVBoxLayout(self.choices)
        self.verticalLayout.setObjectName("verticalLayout")
        self.shortAnswer = QtGui.QRadioButton(self.choices)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.shortAnswer.sizePolicy().hasHeightForWidth())
        self.shortAnswer.setSizePolicy(sizePolicy)
        self.shortAnswer.setChecked(True)
        self.shortAnswer.setObjectName("shortAnswer")
        self.verticalLayout.addWidget(self.shortAnswer)
        self.multipleChoice = QtGui.QRadioButton(self.choices)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.multipleChoice.sizePolicy().hasHeightForWidth())
        self.multipleChoice.setSizePolicy(sizePolicy)
        self.multipleChoice.setChecked(False)
        self.multipleChoice.setObjectName("multipleChoice")
        self.verticalLayout.addWidget(self.multipleChoice)
        self.multipleAnswer = QtGui.QRadioButton(self.choices)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.multipleAnswer.sizePolicy().hasHeightForWidth())
        self.multipleAnswer.setSizePolicy(sizePolicy)
        self.multipleAnswer.setObjectName("multipleAnswer")
        self.verticalLayout.addWidget(self.multipleAnswer)
        self.trueFalse = QtGui.QRadioButton(self.choices)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.trueFalse.sizePolicy().hasHeightForWidth())
        self.trueFalse.setSizePolicy(sizePolicy)
        self.trueFalse.setObjectName("trueFalse")
        self.verticalLayout.addWidget(self.trueFalse)
        self.matching = QtGui.QRadioButton(self.choices)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.matching.sizePolicy().hasHeightForWidth())
        self.matching.setSizePolicy(sizePolicy)
        self.matching.setObjectName("matching")
        self.verticalLayout.addWidget(self.matching)
        self.verticalLayout_2.addWidget(self.choices)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(newQuestion)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(newQuestion)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), newQuestion.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), newQuestion.reject)
        QtCore.QMetaObject.connectSlotsByName(newQuestion)

    def retranslateUi(self, newQuestion):
        newQuestion.setWindowTitle(QtGui.QApplication.translate("newQuestion", "New Question", None, QtGui.QApplication.UnicodeUTF8))
        self.choices.setTitle(QtGui.QApplication.translate("newQuestion", "Choose New Question", None, QtGui.QApplication.UnicodeUTF8))
        self.shortAnswer.setText(QtGui.QApplication.translate("newQuestion", "&Short Answer", None, QtGui.QApplication.UnicodeUTF8))
        self.multipleChoice.setText(QtGui.QApplication.translate("newQuestion", "&Multiple Choice", None, QtGui.QApplication.UnicodeUTF8))
        self.multipleAnswer.setText(QtGui.QApplication.translate("newQuestion", "M&ultiple Answer", None, QtGui.QApplication.UnicodeUTF8))
        self.trueFalse.setText(QtGui.QApplication.translate("newQuestion", "&True/False", None, QtGui.QApplication.UnicodeUTF8))
        self.matching.setText(QtGui.QApplication.translate("newQuestion", "M&atching Question", None, QtGui.QApplication.UnicodeUTF8))

